2016-02-19 132 views
1

我有一個Microsoft管理控制檯3項目建成.NET 2.0中,目前我使用Visual Studio 2010來構建這個項目,每一件事情是工作的罰款,奇怪的行爲

對於未來我打算這將我的項目在Visual Studio 2013,但我無法在Visual Studio中建立項目2013

The type or namespace name 'ManagementConsole' does not exists in the namespace 'Microsoft' (are you missing an assembly reference?) 

enter image description here

注:我沒有做的任何其他變化項目

+0

您是否爲其添加了程序集引用? – Ian

+0

是的,我做了,同樣的項目在Visual Studio 2010中工作正常 –

+0

我的意思是,在VS2013中 - 甚至有時候2010,程序集名稱可能會有所不同。在我的情況下,它是'MMC20'而不是'Microsoft.ManagementConsole'。 – Ian

回答

2

通過設置框架4.0或框架4.5在VS 2013中構建解決方案。 其工作在我的情況。

+0

奇怪但已完成 –