小编jes*_*ing的帖子

更改TFS工作项类型

是否可以更改TFS工作项的类型?例如,我有一个Bug我想更改为变更请求.

tfs visual-studio-2008 tfs-workitem

19
推荐指数
2
解决办法
6734
查看次数

.Net程序集加载问题期间的BadImageFormatException

当我尝试访问IIS 7.0中的网站(使用Windows Server 2008上的VSTS 2010 + .Net 4.0开发)中的页面(default.aspx)时,我遇到以下错误消息.有什么想法有什么不对?BadImageFormatException是什么意思?

顺便说一句:我运行Windows Server 2008 64位(不是R2)并且还没有激活Windows Server 2008,它可能是根本原因吗?

[BadImageFormatException: Could not load file or assembly 'test.foo' or one of its dependencies. Try to load bad formatted program. ]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +567
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +192
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +118

[ConfigurationErrorsException: …

.net c# asp.net iis visual-studio-2010

19
推荐指数
2
解决办法
2万
查看次数

Visual Studio 2013无法打开测试窗口

当我打开Visual Studio 2013并加载我的解决方案时,我会收到一条错误消息,告诉我测试窗口无法加载.

The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Cannot compose part 'Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal' because a cycle exists in the dependencies between the exports being composed. To break this cycle, consider changing some imports from constructor to property injection.
Element: Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal -->  Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal

Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal (ContractName="Microsoft.VisualStudio.TestWindow.Data.TestsService+ITestsServiceInternal")' from part 'Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal'.
Element: Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal (ContractName="Microsoft.VisualStudio.TestWindow.Data.TestsService+ITestsServiceInternal") -->  Microsoft.VisualStudio.TestWindow.Controller.TestsServiceInternal

The composition produced a single composition error. …
Run Code Online (Sandbox Code Playgroud)

unit-testing mstest visual-studio-test-runner visual-studio-2013

19
推荐指数
1
解决办法
9213
查看次数

自动参考的类型

如果我有以下两个循环:

std::vector<int> v;

for(auto i : v)
  //do something with i

for(auto& j : v)
  //do something with j
Run Code Online (Sandbox Code Playgroud)

当我将鼠标悬停在上面时i,intellisense会将其显示为int i(如预期的那样).但是,当我将鼠标悬停在上面时,j我并没有int&像预期的那样得到,而是

std::_Simple_types<std::_Wrap_alloc<std::_Vec_base_types<int, std::allocator<int> >::_Alloc>::value_type>::value_type &j
Run Code Online (Sandbox Code Playgroud)

这个复杂的定义是什么?它是一样的int&吗?如果没有,那是什么?如果是,为什么它只是推断inti,但不int&j

c++ visual-studio c++11 visual-studio-2013

19
推荐指数
3
解决办法
537
查看次数

如何在TFS中重命名团队项目和区域路径?

如何重命名Microsoft Team Team Service中托管的团队项目?我怎样才能重命名区域路径?

tfs tfs2012 azure-devops

18
推荐指数
1
解决办法
2万
查看次数

有没有办法在Visual Studio中模拟Sublime Text的"多光标"功能?

有没有办法在Visual Studio中模拟Sublime Text的"多光标"功能?

我知道您可以在Visual Studio中使用ST2作为外部编辑器,但我不确定它在Express Edition中是否可行.

visual-studio-2010 visual-studio-express sublimetext2

18
推荐指数
3
解决办法
4438
查看次数

从VSTS发布中排除文件/文件夹

我们正在使用TFS内部的新VSO/VSTS样式构建,截至昨天的2015 Update 1.

在发布构建工件阶段,我们希望从根条2子文件夹中复制所有文件/文件夹.

即:

$\somefilestopublish1\...
$\somefilestopublish2\...
$\somefilestoexclude1\...
$\somefilestoexclude2\...
Run Code Online (Sandbox Code Playgroud)

目前我有**\*内容参数,显然会发布一切.我尝试;-:<exclude_pattern>按照谷歌搜索的建议添加,但刚停止所有输出并导致一个空文件夹.

有没有办法使用minimatch表达式来排除文件夹,或者我需要交换显式选择要发布的文件夹.

azure-devops azure-pipelines

18
推荐指数
1
解决办法
1万
查看次数

CSharpAddImportCodeFixProvider遇到错误并已被禁用

我让我的电脑重新为我拍照.我的计算机上安装了Visual Studio版本14.0.25123.00 Update 2.当我尝试使用VS intellisense引用另一个项目时,我收到此错误.

CSharpAddImportCodeFixProvider遇到错误并已被禁用

我有两个项目.其中一个使用命名空间ProjectName.Web.而另一个项目正在使用ProjectName.Web.Controllers.当我引用时ProjectName.Web.Controllers,提供程序崩溃,我相信因为它被设置为项目.知道如何解决这个问题吗?

c# visual-studio roslyn-code-analysis visual-studio-2017

18
推荐指数
1
解决办法
7521
查看次数

解决VSTS/VSO中的任务(敏捷模板)

我使用Agile模板在VSTS(Visual Studio Online)中创建了一个新项目.

我创建了一个sprint,并添加了一个用户故事.在用户故事中,我有一些任务.

在冲刺看板上有4列;

  • 活性
  • 解决
  • 关闭

我可以将任务从New移动到Active,但不能将它们从Active移动到Resolved.

我该怎么做呢?

tfs kanban tfs-process-template tfs-2015 azure-devops

18
推荐指数
2
解决办法
4299
查看次数

Visual Studio 2008支持新的.NET 4

Visual Studio 2008是否会得到新的.NET 4的支持?

我对System.Collections.Concurrent命名空间和并行任务库特别感兴趣,我会立即使用它.

它出现时是否值得升级到Visual Studio 2010?

concurrency visual-studio-2010 visual-studio-2008 c#-4.0

17
推荐指数
2
解决办法
2万
查看次数