-
Notifications
You must be signed in to change notification settings - Fork 25
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 MSB4216: Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "CLR4" and architecture "x86". #105
Comments
@srikanthdasari, could you please describe steps to reproduce it:
Do you have global.json file in your repository? |
@dtretyakov thanks for responding... Teamcity Version - 2017.1.5 (build 47175) Yes CLI installed in this build agent...and the agent is compatible..
I dont have global.json you can find that project in https://github.com/srikanthdasari/WpfSampleProj2.git |
@srikanthdasari, thanks for repro. You have in this solution WPF project which is not supported by msbuild in .NET Core SDK. You could leave a comment in the mentioned issue to let MSFT know that you need it. Publishing will work only with Also you could take a look at the possible workaround for WPF project: dotnet/sdk#346 (comment) |
@dtretyakov thanks its working fine if i remove the WPF project... but it would be great if i have option which could work with both core and non core projects.. |
@srikanthdasari, for solutions with mixed projects Microsoft recommends to use standalone MSBuild from Visual Studio or Build tools for Visual Studio. For that you could leverage MSBuild step in your TeamCity build configuration. |
I had the same Error. |
Hi,
Help please, i am getting this error, while i am trying to build dotnet core app in teacmcity.
The text was updated successfully, but these errors were encountered: