-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot build web desktop web application without specifying RuntimeIdentifier. #357
Comments
Alright all this means that we need to fix this soon :) |
This is a huge mess. I have done a dotnet migrate (using VS 2017) and I get the Runtime identifier errors even though RIDs are already specified. So I cannot run my project in VS2017. What's worse, since migrating I can no longer run my project in VS2015 even when retrieving all project.json files back from source control. I have NO working solution in either project.json or msbuild. |
@tdekoekkoek We're looking at the runtime identifier issue. On not being able to use project.json in VS2015 any longer, that seems like a separate issue. @livarcocc @piotrpMSFT can you help diagnose that? |
@tdekoekkoek Try adding a @nguerrera @livarcocc It sounds like |
Well I've made some progress. First of it seems this should be singular: <
RuntimeIdentifier>
…On Thu, Jan 26, 2017 at 11:03 AM, Nick Guerrera ***@***.***> wrote:
@tdekoekkoek <https://github.com/tdekoekkoek> We're looking at the
runtime identifier issue.
On not being able to use project.json in VS2015 any longer, that seems
like a separate issue. @livarcocc <https://github.com/livarcocc>
@piotrpMSFT <https://github.com/piotrpMSFT> can you help diagnose that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#357 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABFUpTLYMWhBEKAJNR4OhYq_vrKMS04kks5rWMPjgaJpZM4KpCpp>
.
--
Trevor de Koekkoek
http://sincere.ly/tdekoekkoek
|
ok so I should have both. It seems to work with just the singular though. Now I am getting typescript issues in my UI project that I didn't get with VS2015. Namely finding d.ts files. Perhaps the compilation is more exact than VS2015 and these errors were bipassed in 2015? |
This is awful. I have no working environment now for over 24 hours. VS2017 gives me dozens of errors and I can't get VS2015 to work any more. There must be a utility that allows us to see what versions are compatible. I have tried to use Core.EF and when I add that to my project it complains about incompatibility. And now nothing works. This is just awful. |
How do I go back to no MSBuild? Ever since running migrate I cannot run my old project. I just want to go back to a working project with project.json until this is fixed. |
@tdekoekkoek The migration process creates a backup copy of your project. We've also just released an update to the VS 2017 RC which may also help with some of the issues you're seeing if you want to give that a try. @livarcocc @piotrpMSFT Is there documentation on how to revert a migration? |
Is there anyway to uninstall the msbuild update? At least I was somewhat functional before that. |
@dsplaisted, do we need to specify all possible RIDs for pure MSIL console apps? Can we have some kind of a wildcard or auto-inference like in the absence of <!-- the goal is to avoid stamping this in every csproj for exe -->
<RuntimeIdentifiers>
centos.7-x64; debian.8-x64; ol.7.0-x64; ol.7.1-x64; ol.7.2-x64; opensuse.13.2-x64;
osx.10.10-x64; osx.10.11-x64; linuxmint.17-x64; linuxmint.17.1-x64; linuxmint.17.2-x64;
linuxmint.17.3-x64; rhel.7.2-x64; ubuntu.14.04-x64; ubuntu.14.10-x64; ubuntu.15.04-x64;
ubuntu.15.10-x64; ubuntu.16.04-x64; win7-x64; win7-x86
</RuntimeIdentifiers> |
You do not need to specify any RuntimeIdentifiers in that case. |
@nguerrera, sorry, it was singular
|
That requirement was removed after RC4. |
You can repro this by doing the following:
dotnet new -t web
dotnet restore
dotnet build
Here's a project with 1 & 2 already done: Repro.zip
Once doing that you get:
This used to be possible in
project.json
land so I'd think it would be the same in msbuild land. If this issue happens to be "by design" then we'll need to fix the CLI migration to specify aRuntimeIdentifier
when migrating an executable desktop application./cc @livarcocc mostly for the last sentence.
The text was updated successfully, but these errors were encountered: