S
Sean1963
Guest
Just installed version 16.1.6 of Visual Studio Community 2019 and getting a slew of NU1202 errors.
There are a total of 18 errors. Below is a subset
Severity Code Description Project File Line Suppression State
Error NU1202 Package System.ComponentModel.TypeConverter 4.1.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package System.ComponentModel.TypeConverter 4.1.0 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0) TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package MSTest.TestFramework 1.3.2 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package MSTest.TestFramework 1.3.2 does not support any target frameworks. TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package System.Diagnostics.TextWriterTraceListener 4.3.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package System.Diagnostics.TextWriterTraceListener 4.3.0 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0) TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package System.Diagnostics.TraceSource 4.3.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package System.Diagnostics.TraceSource 4.3.0 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0) TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package Microsoft.Extensions.DependencyModel 1.0.3 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.DependencyModel 1.0.3 does not support any target frameworks. TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Here is the code I am attempting to unit test (it seems to compile and execute fine):
using System;
namespace Test {
class Program {
static void Main(string[] args) {
Console.WriteLine("Hello World!");
}
}
}
Here is my the code for my unit test class
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestTest {
[TestClass]
public class UnitTest1 {
[TestMethod]
public void TestMethod1() {
}
}
}
I have a more involved program that I am having the same problem with.
Is there a package that I can install that is compatible with all the components of MS Test?
Continue reading...
There are a total of 18 errors. Below is a subset
Severity Code Description Project File Line Suppression State
Error NU1202 Package System.ComponentModel.TypeConverter 4.1.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package System.ComponentModel.TypeConverter 4.1.0 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0) TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package MSTest.TestFramework 1.3.2 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package MSTest.TestFramework 1.3.2 does not support any target frameworks. TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package System.Diagnostics.TextWriterTraceListener 4.3.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package System.Diagnostics.TextWriterTraceListener 4.3.0 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0) TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package System.Diagnostics.TraceSource 4.3.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package System.Diagnostics.TraceSource 4.3.0 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0) TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Error NU1202 Package Microsoft.Extensions.DependencyModel 1.0.3 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.DependencyModel 1.0.3 does not support any target frameworks. TestTest C:\Users\sbiggs1\source\repos\Test\TestTest\TestTest.csproj 1
Here is the code I am attempting to unit test (it seems to compile and execute fine):
using System;
namespace Test {
class Program {
static void Main(string[] args) {
Console.WriteLine("Hello World!");
}
}
}
Here is my the code for my unit test class
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestTest {
[TestClass]
public class UnitTest1 {
[TestMethod]
public void TestMethod1() {
}
}
}
I have a more involved program that I am having the same problem with.
Is there a package that I can install that is compatible with all the components of MS Test?
Continue reading...