Comments (12)
@valeriob getting the package up on MyGet might take a few more weeks (the kids are off at the moment as it's school holidays here in the UK and busy time at the allotments).
@artiomchi any tips for running it locally using a custom build?
from r4mvc.
Hi, how close is this ? i could help testing it with a consumable package
from r4mvc.
Stupid followup question, i downloaded the src, linked the project R4Mvc, now how do i cfg and run it ? :D
Thanks
from r4mvc.
Meanwhile i'm trying to run it manally, but i get the following error :
Msbuild failed when processing the file 'C:\Users\vborioni\Downloads\R4MVC-master (1)\R4MVC-master\src\R4MvcHostApp\R4MvcHostApp.csproj' with message: The imported project "C:\Users\vborioni\Downloads\R4MVC-master (1)\R4MVC-master\src\R4Mvc.Tools\bin\Debug\net462\Sdks\Microsoft.NET.Sdk.Web\Sdk\Sdk.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. C:\Users\vborioni\Downloads\R4MVC-master (1)\R4MVC-master\src\R4MvcHostApp\R4MvcHostApp.csproj
I'm using Vs 2017, and i have .net core 2.0 preview 2 installed.
from r4mvc.
Hi,
i tried to set the env variable "MSBuildSDKsPath" to "c:\Program Files\dotnet\sdk\2.0.0-preview2-006497\Sdks" but now i get a different error :
Msbuild failed when processing the file 'C:\Users\vborioni\Downloads\R4MVC-master (1)\R4MVC-master\src\R4MvcHostApp\R4MvcHostApp.csproj' with message: The imported project "C:\Program Files (x86)\MSBuild\2.0\Microsoft.Common.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. c:\Program Files\dotnet\sdk\2.0.0-preview2-006497\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props
I do have that installed, but it looks for msbuild 2.0, i've 14 and 15 installed :
from r4mvc.
Hi @valeriob
You shouldn't have to change the env variables to build the project. My guess is that you've installed .NET Core 2.0 Preview 2, while I build it against 1.1. In any case, I'll be making sure that it works when build against 2.0 shortly.
Regarding your question about adding it to an existing project, I've set up a MyGet feed against my dev branch, so until we have official alpha builds, you could just use my nightlies in the meantime.
You can add the following to your NuGet feeds: https://www.myget.org/F/artiomchi/api/v3/index.json
Then reference R4Mvc and R4Mvc.Tools in your web project.
Once installed, you can run the Generate-R4MVC
PowerShell command in the Package Manager Console
window in VS to re-generate the classes.
from r4mvc.
P.S. If you have any issues with the nightly builds or building the code, please open a new issue so that we can help you. I'd rather we keep the issue discussions on topic :)
from r4mvc.
Hi @artiomchi thanks !
I migrated r4mvc to aspnetcore 2.0 but i failed... Well i migrated it and it compiles, but running the tool brings the result you see on my comment above
from r4mvc.
@kevinkuszyk Once you update the API keys in the yaml file, this issue can be closed too
from r4mvc.
@artiomchi what's your NuGet.org username, so I can add you as an owner of the package?
from r4mvc.
@kevinkuszyk it's ArtiomChi, same as here :)
Also, thanks for that. That would let me update the release notes after deployments!
from r4mvc.
Done.
Re. release notes - I usually just add them to the tag in GitHub, and put a link to the GitHub releases page in the .nuspec
.
from r4mvc.
Related Issues (20)
- Controller action named Created does not generate. HOT 2
- When will R4MVC move to non-alpha status? HOT 1
- Generation fails for read-only controllers
- R4mvc doesn't generate actions of type ViewResult, PartialViewResult correctly.
- Generation fails on msbuild warning HOT 2
- ActionNameAtttribute is not supported
- Video demo of R4MVC tag helpers HOT 2
- C#9 target-type new incompatibility HOT 1
- Error in New Visual Studio Version HOT 6
- Real Roslyn Source Code Generator ?
- Failure when controller contains several action methods with the same name HOT 4
- Public, static methods in a controller are being marked as virtual during generation
- Not Deteted Partial and RazorLayout
- Issue deleted
- Is R4MVC supposed to work with .Net6? HOT 2
- Not Generated Controller Action in New Visual Studeio Version 17.1.6
- Error When Generate R4MVC HOT 6
- Could not load SDK resolver HOT 1
- How to run Generate-R4MVC in visual studio on mac?
- Compatibility issue. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r4mvc.