我怎样才能知道用什么版本的visual studio来开发appplication? [英] How can I get to know what version of visual studio was used to develop an appplication ?

查看:86
本文介绍了我怎样才能知道用什么版本的visual studio来开发appplication?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我最近收到了一个C#Visual Studio应用程序,当我尝试在我的Visual Studio IDE(VS 2010)中加载它来测试它时,我收到一条错误消息告诉我该项目与当前版本不兼容或视觉工作室。我在这台电脑上使用虚拟机。



当然我一直在网上搜索找出原因,但有趣或奇怪的事情是:



1.-在发送给我的同一个包裹中,有同一个

项目的副本(备份)当我加载到我的IDE中时,它正确加载!!!唯一的区别

据我所知,新的一个具有远程服务器的IP地址,作为一个对象的

参数,在代码中。 br />


2.-如果我尝试在另一台电脑中加载它们,它们现在加载都很好,但是在

第一次测试我制作,我得到了相同的错误,从下载

地毯加载它们。

如果你问我做了什么,那么我只将它们复制到根C :驱动器和他们

装载。



3.-一台电脑接受的版本,包含对几个Dll的引用,包含在

包,我可以在对象浏览器中看到它们,但是一旦我尝试构建它,对这些文件的引用就会消失,所有的代码行都会使用

它们被标记为错误。



该项目应该与我在第一台PC上安装的Net Framework 4.5一起运行,在我的第二台PC安装了6.1框架。



我希望我足够清楚。在此先感谢。



我尝试过:



我安装了第一台PC中的Net Framework 4.5,因为我读了一些框架版本的差异,但仍然没有加载。

解决方案

在记事本中打开.SLN文件它会在标题中告诉你。



使用较新版本的Visual Studio比你使用的2010版本更好。

你能做的最好的是查看项目文件:



< Project ToolsVersion =4.0







< TargetFrameworkVersion> V4.5

Hi everybody, I recently received a C# Visual Studio app and when I try to load it in my Visual Studio IDE (VS 2010) to test it, I get an error message telling me "The project is incompatible with the current version or visual studio". I´m using a virtual machine in this pc.

Of course I´d been searching via Internet to find out the cause of this, but the funny or strange thing is:

1.- in the same package that was sent to me, there´s a copy (backup) of the same
project and when I loaded in my IDE, it loads correctly !!!. The only difference
as far as I can see is the new one having the IP adress of a remote server, as a
parameter for an object, in the code.

2.- If I try to load them in another pc, both of them loads just fine now, but in the
first test I made, I got the same error, loading them from the "Downloads"
carpet.
If you ask me what I did, well I only copied them to the root C: drive and they
loaded.

3.-The version accepted in one pc, contains references to several Dlls,included in
the package, and I can see them in the Object Browser, but as soon a I try to
build it, the references to these files dissapear and all the code lines using
them are marked with error.

The project is supposed to run with the Net Framework 4.5, which I have installed in the first PC, In the second PC I have the 6.1 framework installed.

I hope I was clear enough. Thanks in advance.

What I have tried:

I installed Net Framework 4.5 in the first PC, 'cause I read something about differences in framework versions, but still did not load.

解决方案

Open the .SLN file in Notepad and it'll tell you right in the header.

Chances are good that a newer version of Visual Studio was used than the 2010 version you're using.


The best you can do is look in the project file:

<Project ToolsVersion="4.0"

and

<TargetFrameworkVersion>v4.5


这篇关于我怎样才能知道用什么版本的visual studio来开发appplication?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆