简体   繁体   English

如何在已完成并放入GAC中的VS2010中的C#项目中修改代码

[英]How can I amend code in a C# project in VS2010 that I have finalised and placed in the GAC

I have a C# control library built using Visual Studio 2010 that I have finalised and released into my General assembly Cache. 我有一个使用Visual Studio 2010构建的C#控件库,该库已经完成并发布到我的常规程序集缓存中。 I now want to recode the library and don't know how. 我现在想重新编码库,不知道如何。 I can open the project in Visual Studio 2010 but I cannot access the code because the modules presumably have been moved to the GAC and locked. 我可以在Visual Studio 2010中打开项目,但由于模块可能已移至GAC并已锁定,因此无法访问代码。 I would be happy to copy the code into a new project if such a thing is possible but currently I have no access to my code. 如果可能的话,我很乐意将代码复制到新项目中,但是目前我无法访问我的代码。

This is not the way it works. 这不是它的工作方式。 I'm guessing the source code got checked-in to source control and the files are now read-only. 我猜测源代码已签入源代码管理,并且文件现在是只读的。 You have to check them out to make them editable. 您必须检出它们以使其可编辑。 Talk to the members of your team about this. 与您的团队成员讨论此事。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在VS2010 Professional中为C#项目自定义代码分析词典? - How do I customize the Code Analysis Dictionary for a C# project in VS2010 Professional? 如何让VS2010使用3.0 C#编译器而不是4.0? - How can I get VS2010 to use the 3.0 C# compiler instead of 4.0? 如何使用C#读取VS2010配置设置的值 - How can I read the value of my VS2010 configuration settings with C# 如何从我的 C# 程序中找到我的 VS2010 解决方案/应用程序的名称 - How can I find out the name of my VS2010 solution / Application from inside my C# program 当我在VS2010中使用WinForms(C#)设计器时,它仍会生成StyleCop抱怨的代码 - When I use WinForms (C#) designer in VS2010, it still generates code that StyleCop complains about 如何检测依赖关系是否在 VS2010 中的构建事件之前发生了变化? - How can I detect if dependencies have changed prior to a build event in VS2010? 当我打开解决方案时,如何让我的 VS2010 设置项目没有错误? - How can get my VS2010 setup projects to NOT have errors when I open the solution? VS2010 C#:如何在按F12键时查看内部​​类的定义? - VS2010 C#: How to view internal classes definitions when I press F12? VS2010 - 如何获取c#的控制事件处理程序定义 - VS2010 - How do I get control event handler definitions for c# 如何在 VS2010 中禁用此代码视图设置? - How do I disable this code view setting in VS2010?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM