-
Notifications
You must be signed in to change notification settings - Fork 1.1k
dotnet build is failing #8836
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
Comments
HardCoded version of CLI to 2.1.0-preview1-007372 as the latest version has some issues. Reverted to old version of CLI because of dotnet/cli#7921
What sort of customization are you doing in your build? I just tried referencing netstandard1.4 library from a console app targeting netcoreapp1.0 and netcoreapp2.0. So, getting some more insight into your build customizations might be helpful in being able to figure what is wrong here. cc @dsplaisted who may have some insights here. |
HardCoded version of CLI to 2.1.0-preview1-007372 as the latest version has some issues. Reverted to old version of CLI because of dotnet/cli#7921
* Object Model Api fix (#1231) * Adding the missing property LocalExtensionData in TestCase * Fixed the test. * Do not crash data collector if a extension initialize fails. (#1230) * Do not crash data collector if a extension initialize fails. * Add unit tests for the scenario. * Fix for changes in XPathNavigator for netcoreapp2.0 (#1226) * Fix for changes in XPathNavigator in netcoreapp2.0 * Removed IXPathNavigable. * Use TPv2 as default for .NET 3.5. (#1232) * Loading native dll's correctly for UWP release mode (#1234) * Loading native dll's correctly for UWP release mode * nit's * decouple process bitness with OS Architecture * HardCoded version of CLI to 2.1.0-preview1-007372 (#1238) HardCoded version of CLI to 2.1.0-preview1-007372 as the latest version has some issues. Reverted to old version of CLI because of dotnet/cli#7921 * Added null check for parent node. * Added conditional statements to support building against netcoreapp1.0 * Get OSArchitecture from Platform Abstraction to check for ARM Processor (#1242) * GetOsArchitecture from Platform Abstraction to check for ARM * making sure path is always small
HardCoded version of CLI to 2.1.0-preview1-007372 as the latest version has some issues. Reverted to old version of CLI because of dotnet/cli#7921
* Object Model Api fix (#1231) * Adding the missing property LocalExtensionData in TestCase * Fixed the test. * Do not crash data collector if a extension initialize fails. (#1230) * Do not crash data collector if a extension initialize fails. * Add unit tests for the scenario. * Use TPv2 as default for .NET 3.5. (#1232) * Loading native dll's correctly for UWP release mode (#1234) * Loading native dll's correctly for UWP release mode * nit's * decouple process bitness with OS Architecture * HardCoded version of CLI to 2.1.0-preview1-007372 (#1238) HardCoded version of CLI to 2.1.0-preview1-007372 as the latest version has some issues. Reverted to old version of CLI because of dotnet/cli#7921 * Get OSArchitecture from Platform Abstraction to check for ARM Processor (#1242) * GetOsArchitecture from Platform Abstraction to check for ARM * making sure path is always small
With some help from @nguerrera, I've figured out what's wrong and filed dotnet/msbuild#2688 for this. You can work around it by removing the duplicate project references. Specifically, remove the |
I will try the workaround and verify if build works. |
Steps to reproduce
dotnet build is failing if Product Code targets netstandard1.4 and test project targets netcoreapp1.0/netcoreapp2.0.
Expected behavior
Actual behavior
Environment data
Not working on this build
.NET Command Line Tools (2.2.0-preview1-007460)
Product Information:
Version: 2.2.0-preview1-007460
Commit SHA-1 hash: 173cc03
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\code\github\vstest\tools\dotnet\sdk\2.2.0-preview1-007460\
Microsoft .NET Core Shared Framework Host
Version : 2.1.0-preview1-25825-07
Build : 4c165c13bd390adf66f9af30a088d634d3f37a9d
Working on this build:
.NET Command Line Tools (2.1.0-preview1-007372)
Product Information:
Version: 2.1.0-preview1-007372
Commit SHA-1 hash: a1ecb3b
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\code\github\harshjain2\vstest\tools\dotnet\sdk\2.1.0-preview1-007372\
Microsoft .NET Core Shared Framework Host
Version : 2.1.0-preview1-25816-02
Build : c5006ff91f92e300b426eb26a9a0fa67192590b1
The text was updated successfully, but these errors were encountered: