当前位置:编程学习 > C#/ASP.NET >>

Microsoft Visual Studio 2005打开项目时弹出一个对话框

Microsoft Visual Studio 2005打开项目时弹出一个对话框
http://p14.freep.com.cn/p.aspx?u=v20_p14_p_0712281937457411_0.jpg

这是怎么回事啊?
请高手帮忙解决下
--------------------编程问答-------------------- 是不是你的代码故意让它弹出来一个对话框? --------------------编程问答-------------------- 应该是这个项目里引用了一些插件,

你的电脑上没有

安装一下就可以了 --------------------编程问答-------------------- 你可以看那个网址是什么用的么,说不定程序写了这样一个语句或是毒,呵呵 --------------------编程问答-------------------- 挺有意思,那你去查查这个是什么文件 --------------------编程问答-------------------- 没有知道的朋友吗 --------------------编程问答-------------------- 一般来说csproj文件大概是下面这样,lz注意一下其中的Import的element,如果有其他的导入,结果和lz的相似:

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
  <PropertyGroup>
    <ProjectType>Local</ProjectType>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{C3B27C65-AD63-4FAC-AE73-AB787E56AAF6}</ProjectGuid>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ApplicationIcon>
    </ApplicationIcon>
    <AssemblyKeyContainerName>
    </AssemblyKeyContainerName>
    <AssemblyName>ClassLibrary1</AssemblyName>
    <AssemblyOriginatorKeyFile>
    </AssemblyOriginatorKeyFile>
    <DefaultClientScript>JScript</DefaultClientScript>
    <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
    <DefaultTargetSchema>IE50</DefaultTargetSchema>
    <DelaySign>false</DelaySign>
    <OutputType>Library</OutputType>
    <RootNamespace>ClassLibrary1</RootNamespace>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
    <StartupObject>
    </StartupObject>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>2.0</OldToolsVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <OutputPath>bin\Debug\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <DebugSymbols>true</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize>false</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
    <DebugType>full</DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <OutputPath>bin\Release\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants>TRACE</DefineConstants>
    <DebugSymbols>false</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize>true</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
    <DebugType>none</DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System">
      <Name>System</Name>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs">
      <SubType>Code</SubType>
    </Compile>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PreBuildEvent>
    </PreBuildEvent>
    <PostBuildEvent>
    </PostBuildEvent>
  </PropertyGroup>
</Project>
--------------------编程问答-------------------- 我仔细看了下
csproj文件
跟你这个一样
有Import这项
没有element这一项

但,我该怎么解决呢? --------------------编程问答-------------------- 不会吧 --------------------编程问答-------------------- 那样lz试试这个命令:
[code=BatchFile]"%windir%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe" "D:\dormMIS\DormMIS.csproj"[/code]
如果这个命令结果提示,编译成功,显示绿色,那么应该是IDE有问题,lz试试用ide打开其他工程看看会不会有问题。 --------------------编程问答-------------------- 大哥
要怎么使用这个命令了
"%windir%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe" "D:\dormMIS\DormMIS.csproj"
新手
多指教下 --------------------编程问答-------------------- 项目所需的应用程序未安装 --------------------编程问答-------------------- up --------------------编程问答-------------------- "项目所需的应用程序未安装"

什么应用程序?
补充:.NET技术 ,  C#
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,