Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
b4f114ba
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b4f114ba
编写于
10月 01, 2018
作者:
T
Traian Anghel
提交者:
Dustin Campbell
10月 13, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
added unit test for DebugType ArgumentNullException in CommandLineArgumentReader fix
上级
f9661a99
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
94 addition
and
0 deletion
+94
-0
src/Workspaces/CoreTestUtilities/Resources/ProjectFiles/CSharp/ProjectLoadErrorOnMissingDebugType.csproj
...ectFiles/CSharp/ProjectLoadErrorOnMissingDebugType.csproj
+53
-0
src/Workspaces/CoreTestUtilities/Resources/SolutionFiles/ProjectLoadErrorOnMissingDebugType.sln
...rces/SolutionFiles/ProjectLoadErrorOnMissingDebugType.sln
+25
-0
src/Workspaces/CoreTestUtilities/TestFiles/Resources.cs
src/Workspaces/CoreTestUtilities/TestFiles/Resources.cs
+2
-0
src/Workspaces/MSBuildTest/MSBuildWorkspaceTests.cs
src/Workspaces/MSBuildTest/MSBuildWorkspaceTests.cs
+14
-0
未找到文件。
src/Workspaces/CoreTestUtilities/Resources/ProjectFiles/CSharp/ProjectLoadErrorOnMissingDebugType.csproj
0 → 100644
浏览文件 @
b4f114ba
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{B2417A38-6B3D-4482-9354-14AAF628340D}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
ProjectLoadErrorOnMissingDebugType
</RootNamespace>
<AssemblyName>
ProjectLoadErrorOnMissingDebugType
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<!--<DebugType>full</DebugType>-->
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
src/Workspaces/CoreTestUtilities/Resources/SolutionFiles/ProjectLoadErrorOnMissingDebugType.sln
0 → 100644
浏览文件 @
b4f114ba
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2036
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectLoadErrorOnMissingDebugType", "ProjectLoadErrorOnMissingDebugType\ProjectLoadErrorOnMissingDebugType.csproj", "{B2417A38-6B3D-4482-9354-14AAF628340D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B2417A38-6B3D-4482-9354-14AAF628340D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B2417A38-6B3D-4482-9354-14AAF628340D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B2417A38-6B3D-4482-9354-14AAF628340D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B2417A38-6B3D-4482-9354-14AAF628340D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9A9BD150-2994-4451-B166-D44022E8F764}
EndGlobalSection
EndGlobal
src/Workspaces/CoreTestUtilities/TestFiles/Resources.cs
浏览文件 @
b4f114ba
...
...
@@ -93,6 +93,7 @@ public static class SolutionFiles
public
static
string
MissingEndProject3
=>
GetText
(
"SolutionFiles.MissingEndProject3.sln"
);
public
static
string
NetCoreMultiTFM_ProjectReferenceToFSharp
=
GetText
(
"NetCoreMultiTFM_ProjectReferenceToFSharp.Solution.sln"
);
public
static
string
NonExistentProject
=>
GetText
(
"SolutionFiles.NonExistentProject.sln"
);
public
static
string
ProjectLoadErrorOnMissingDebugType
=>
GetText
(
"SolutionFiles.ProjectLoadErrorOnMissingDebugType.sln"
);
public
static
string
SolutionFolder
=>
GetText
(
"SolutionFiles.SolutionFolder.sln"
);
public
static
string
VB_and_CSharp
=>
GetText
(
"SolutionFiles.VB_and_CSharp.sln"
);
}
...
...
@@ -138,6 +139,7 @@ public static class CSharp
public
static
string
NetCoreMultiTFM_ProjectReferenceWithReversedTFMs_Library
=>
GetText
(
"NetCoreMultiTFM_ProjectReferenceWithReversedTFMs.Library.csproj"
);
public
static
string
NetCoreMultiTFM_ProjectReferenceWithReversedTFMs_Project
=>
GetText
(
"NetCoreMultiTFM_ProjectReferenceWithReversedTFMs.Project.csproj"
);
public
static
string
PortableProject
=>
GetText
(
"ProjectFiles.CSharp.PortableProject.csproj"
);
public
static
string
ProjectLoadErrorOnMissingDebugType
=>
GetText
(
"ProjectFiles.CSharp.ProjectLoadErrorOnMissingDebugType.csproj"
);
public
static
string
ProjectReference
=>
GetText
(
"ProjectFiles.CSharp.ProjectReference.csproj"
);
public
static
string
ReferencesPortableProject
=>
GetText
(
"ProjectFiles.CSharp.ReferencesPortableProject.csproj"
);
public
static
string
Wildcards
=>
GetText
(
"ProjectFiles.CSharp.Wildcards.csproj"
);
...
...
src/Workspaces/MSBuildTest/MSBuildWorkspaceTests.cs
浏览文件 @
b4f114ba
...
...
@@ -3032,6 +3032,20 @@ public async Task TestOpenSolution_WithDuplicatedGuidsBecomeCircularReferential(
}
}
[
ConditionalFact
(
typeof
(
VisualStudioMSBuildInstalled
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
MSBuildWorkspace
)]
public
async
Task
TestOpenProject_CSharp_WithMissingDebugType
()
{
CreateFiles
(
new
FileSet
(
(
@"ProjectLoadErrorOnMissingDebugType.sln"
,
Resources
.
SolutionFiles
.
ProjectLoadErrorOnMissingDebugType
),
(
@"ProjectLoadErrorOnMissingDebugType\ProjectLoadErrorOnMissingDebugType.csproj"
,
Resources
.
ProjectFiles
.
CSharp
.
ProjectLoadErrorOnMissingDebugType
)));
var
solutionFilePath
=
GetSolutionFileName
(
@"ProjectLoadErrorOnMissingDebugType.sln"
);
using
(
var
workspace
=
CreateMSBuildWorkspace
())
{
await
workspace
.
OpenSolutionAsync
(
solutionFilePath
);
}
}
[
ConditionalFact
(
typeof
(
VisualStudioMSBuildInstalled
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
MSBuildWorkspace
)]
[
WorkItem
(
991528
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/991528"
)]
public
async
Task
MSBuildProjectShouldHandleCodePageProperty
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录