-
Notifications
You must be signed in to change notification settings - Fork 1k
Can't open .targets files #6589
Comments
@StephaneDelcroix could you please attach the log files for this issue? Maybe MSBuild Editor addin is causing the failure. Tried to reproduce this locally with Version 7.7 Preview (7.7 build 1861), and could not. |
cc @mhutch |
Yup,
|
This is the code. I don't see how that error is possible??! If the value were null then the preceding calls would have failed too. foreach (var project in Ide.IdeApp.Workspace.GetAllProjects ()) {
var outName = project.GetOutputFileName (project.ParentSolution.DefaultConfigurationSelector);
projectMap [Path.GetFileNameWithoutExtension (outName)] = project;
} |
still happen on 7.7 build 1841. updating to 1861. note that this happen too when trying to open Edit any .csproj |
Is it just in that solution, or in any solution? |
still happening on 1861, on XF sln |
I tried with a different .sln, and I manage to open the .csproj. I don't know what's going on, but I'm not dreaming it. Now that the issue is closed, do you still need the log files ? I can do that tomorrow morning |
@StephaneDelcroix Disable the msbuild editor addin in the meantime to unblock this. It's not from a default VSMac install. |
Re-opening the issue as the editor could safe-guard against that. |
Fixed in version 8.0.0.1738 (release-8.0) Author: therzok |
Trying to open our Xamarin.Forms.targets
=== Visual Studio Enterprise 2017 for Mac (Preview) ===
Version 7.7 Preview (7.7 build 1837)
Installation UUID: 432670e0-72c2-49ad-9697-54e2fbd0e94c
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)
=== Mono Framework MDK ===
Runtime:
Mono 5.16.0.215 (2018-06/eee1d634e8b) (64-bit)
Package version: 516000215
=== NuGet ===
Version: 4.7.0.5148
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.1.2
2.1.1
2.0.5
2.0.0
1.1.1
1.0.4
SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks
SDK Versions:
2.1.302
2.1.301
2.1.4
2.0.0
1.0.1
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 10.1 (14460.46)
Build 10B61
=== Xamarin.Mac ===
Version: 5.2.1.10 (Visual Studio Enterprise)
Hash: f2a05edd
Branch:
Build date: 2018-10-31 18:55:58-0400
=== Xamarin.iOS ===
Version: 12.2.1.10 (Visual Studio Enterprise)
Hash: f2a05edd
Branch: d15-9
Build date: 2018-10-31 18:55:57-0400
=== Xamarin.Android ===
Version: 9.1.0.38 (Visual Studio Enterprise)
Android SDK: /Users/sdx/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.4.87 (API level 20)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 28.0.1
SDK Build Tools Version: 28.0.0
Java SDK: /Users/sdx/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1
openjdk version "1.8.0-9"
OpenJDK Runtime Environment (build 1.8.0-9-microsoft-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 7.7.1.0
Hash: ee948863
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Build Information ===
Release ID: 707001837
Git revision: de8219e
Build date: 2018-11-12 11:10:55+00
Build branch: release-7.7
Xamarin extensions: 64d562a1e28bed285dce6d33a48ca6fcb75236a4
=== Operating System ===
Mac OS X 10.14.2
Darwin 18.2.0 Darwin Kernel Version 18.2.0
Sat Nov 3 12:30:49 PDT 2018
root:xnu-4903.231.1~11/RELEASE_X86_64 x86_64
=== Enabled user installed extensions ===
DotNetCoreSupportAnyTargetFramework 1.0
MSBuild Editor 2.1.0
NuGet Package Management Extensions 0.14
Show in Github 1.0.4
The text was updated successfully, but these errors were encountered: