Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Generate R4MVC #172

Open
rbsdotnet opened this issue Aug 15, 2022 · 6 comments · May be fixed by #173
Open

Error When Generate R4MVC #172

rbsdotnet opened this issue Aug 15, 2022 · 6 comments · May be fixed by #173

Comments

@rbsdotnet
Copy link

Hi

Please Help Me!!!!!

R4Mvc Generator Tool v1.0.0-alpha2-00395

Using: Visual Studio Enterprise 2022 - 17.3.32804.467
Project: E:\Workspaces\SamanArya\UnifiedHealthInformationSystem\SamanArya.UHIS.Module.Pharmacy\SamanArya.UHIS.Module.Pharmacy.csproj

Creating Workspace ...
Loading project ...
Failure: Msbuild failed when processing the file 'E:\Workspaces\SamanArya\UnifiedHealthInformationSystem\SamanArya.UHIS.Module.Pharmacy\SamanArya.UHIS.Module.Pharmacy.csproj' with message: Method not found: 'System.ReadOnlySpan1<Char> Microsoft.IO.Path.GetFileName(System.ReadOnlySpan1)'.
Found errors during project analysis. Aborting

@JackGilmore
Copy link

This appears to be related to the latest Visual Studio update that has also updated MSBuild. In the MSBuild update it appears that System.Memory was updated (dotnet/msbuild#7680) which is possibly causing this issue as seen in some other projects:
microsoft/nodejstools#2407
unoplatform/uno#9297

I cloned the R4MVC repo and installed System.Memory 4.5.5 to the R4Mvc.Tools project and that appears to fix the issue?

@rbsdotnet
Copy link
Author

Thanks a lot for the help @JackGilmore

Is it possible to publish the new version?

@JackGilmore
Copy link

I'm not the project maintainer so I can't publish a new version to nuget. I'm happy to open a pull request with the required changes though. I'm not sure how likely it is that it'll get merged though as the last commit in the project was over a year ago and there are already pending pull requests 😐

@JackGilmore JackGilmore linked a pull request Aug 16, 2022 that will close this issue
@JackGilmore
Copy link

I've opened a PR for this: #173

@rbsdotnet rbsdotnet changed the title Error When Generate Error When Generate R4MVC Aug 16, 2022
@rbsdotnet
Copy link
Author

Dear friend
You can manually generate the nuget from the project and send it to me because I urgently need this nuget.

@JackGilmore
Copy link

Hi @rbsdotnet. I don't have the time or knowledge to generate the nuget package but please feel free to generate it from my fork if you need to use it: https://github.com/JackGilmore/R4MVC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants