visual-studio-2010-beta-2

Writing Visual Studio 2010 Plugin, would like to show a toolbox like Resharper in code editor

三世轮回 提交于 2019-12-04 18:21:18
问题 I would like to write a plugin for Visual Studio 2010 but in fact I face some problems. What I want to do seems easy, I would like that a little toolbox appears when selecting the text in code editor like in Resharper (little pen with menu that helps in refactoring) or like here: http://www.axtools.com/products-vs2010-extensions.php?tab=selection-popup I would like to know : Is there anu Visual Studio template that helps to start ? I try with "Editor Viewport Adornment" but I'm not sure of

How to export Visual Studio 2010 UML Modeling Diagrams

…衆ロ難τιáo~ 提交于 2019-12-04 14:57:52
问题 I recently created a very nice UML Class diagram inside Visual Studio 2010 (b2). The tools worked like a charm and I was able to model a rather complex domain within minutes. However, I cannot find any way to export my diagram as an image (PNG/JPEG/etc.). Does the modelling features in VS2010 support exporting diagrams as images? If so - how do I do it? Print src is NOT the answer. Edit: Found one way to export... Go to File > Print and select Adobe PDF Edit 2: Found another, slightly more

Do I want Publish or Release Build in VB.net?

牧云@^-^@ 提交于 2019-12-04 12:18:47
I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I've released the code as a Google Code project. It's easy for a developer to get the source but I'd like to make it easy to install too. What I did was make a release build then zip up what it created, this included a setup.exe. There was also an option to "publish" my project which looks like it can enable update checks and other stuff. In my case, I just want to make it easy for a casual user who happens to want to try out this app with as few clicks as needed. Was putting up the release

Embedding IronPython in a C# application - import error on urllib

拥有回忆 提交于 2019-12-04 10:01:02
I have a Python file with as content: import re import urllib class A(object): def __init__(self, x): self.x = x def getVal(self): return self.x def __str__(self): return "instance of A with value '%s'" % (self.getVal()) I also have a simple C# console project with the following code: engine = Python.CreateEngine(); ScriptSource source = engine.CreateScriptSourceFromFile("test.py"); ScriptScope scope = engine.CreateScope(); ObjectOperations op = engine.Operations; source.Execute(scope); // class object created object klaz = scope.GetVariable("A"); // get the class object object instance = op

How to get GitExtensions installed on Visual Studio 2010 Beta 2?

旧城冷巷雨未停 提交于 2019-12-04 09:39:14
How do I manually install GitExtensions as a plugin for Visual Studio 2010 Beta 2? There is no automatic option in the present installer, only plugin options for Visual Studio 2005/2008. I think the plugin architecture is different for 2010 (not 100% sure on that, but fairly certain), so they might need to alter their code to suit. The plugin's not really necessary though - personally I find it easier to use GIT outside of VS altogether. I'm going to try it right now, but it seems that it;s the following package: http://code.google.com/p/gitextensions/ Regards, Herber 来源: https://stackoverflow

System.Core.dll in 4.0 added by default?

北慕城南 提交于 2019-12-04 05:06:43
I was playing around with VS2010 beta2. I noticed that if I try to add System.Core.dll to a project which does not already have a reference to that, in VS2010, it complains saying I cannot add that assembly as it is already referenced by the project system. Any idea why they are doing that in VS2010/4.0? Is it because they have forwarded few types to mscorlib from System.Core? Not an answer for "why they are doing that", but could be helpful. This is how I see the chain of actions that lead to implicit referencing System.Core.dll : You make a project in Visual Studio 2010. It generates .csproj

Error with using “dynamic” keyword in Silverlight app

徘徊边缘 提交于 2019-12-04 04:35:29
问题 I get the following error: "One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll" I do have System.Core.dll, do have I to find Microsoft.CSharp somewhere? It wasn't part of the project and it isn't in the references list. 回答1: Should be at: C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\ 回答2: You might want to check out this blog post. There are some versioning conflicts with

Visual SVN and Visual Studio 2010 Beta 2 won't play nice

孤街醉人 提交于 2019-12-03 16:23:25
问题 I can't seem to get Visual SVN and Visual Studio Beta 2 to work together, anyone know of a workaround??? 回答1: This is known problem. We're working on it and provide fix soon. As workaround you may copy file "C:\Program Files\[Prev Visual studio]\Common7\IDE\PrivateAssemblies\microsoft.visualstudio.dll" to C:\Program Files\VisualSVN\bin directory. 回答2: The latest generation VisualSVN in reporting Visual Studio 2010 compatibility: http://www.visualsvn.com/visualsvn/download/ There's also a post

How to export Visual Studio 2010 UML Modeling Diagrams

落爺英雄遲暮 提交于 2019-12-03 10:21:16
I recently created a very nice UML Class diagram inside Visual Studio 2010 (b2). The tools worked like a charm and I was able to model a rather complex domain within minutes. However, I cannot find any way to export my diagram as an image (PNG/JPEG/etc.). Does the modelling features in VS2010 support exporting diagrams as images? If so - how do I do it? Print src is NOT the answer. Edit: Found one way to export... Go to File > Print and select Adobe PDF Edit 2: Found another, slightly more elegant, way to export. In the diagram editor: Select all ( Ctrl + A ), Copy ( Ctrl + C ), Go to your

What Are Your Thoughts On Entity Framework 4.0? [closed]

点点圈 提交于 2019-12-03 06:53:15
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . The initial release of the Entity Framework wasn't regarded well in the development community. Developers felt a number of things were