C++ Console application can not Debug
We met a problem recently when we debugged a C++ Console application in both of Visual Studio 2017 and Visual Studio 2015: All breakpoints did not work (The debug could not stop at the breakpoint).
Visual Studio Code Does NOT Come With Git Installation by Default
When we use Visual Studio 2015 or 2017, we see the Git feature is provided by default. At least, we do not need to install Git separately, Git can be installed with Visual Studio together. When new cross platform supported Visual Studio Code came, we thought it will come with Git together by default. But actually it is NOT. At least, in current newest version 1.19.3.
Load Project to Visual Studio Online Git Service Using Visual Studio 2015
I realized it was some different when I loaded local project to Visual Studio Online in Visual Studio 2015 compared with using Visual Studio 2013.
Microsoft Announces Xamarin Technologies are Free and Open Source
In today’s Microsoft Build 2016 event, Microsoft's Scott Gu just announced that Xamarin will be available in Visual Studio family WITHOUT extra cost, even in the free edition of Visual Studio Community and Visual Studio Code. Xamarin Studio for OS X will be free as a community edition.
Using VisualSVN plugin to Add a Project on SVN Server in VS 2013
Before we were using AnkhSVN plugin in Visual Studio, but sometimes we got unknown issues when we have multiple team members, so later we changed to VisualSVN plugin, we feels the new one is more stable.
Visual Studio with Git Conflict prevents checkout
I had a project which developed on different computers using .NET in Visual Studio 2013, I used Git for source code control on Visual Studio online. Tehre was one computer had not updated long time. When I tried to pull code, I got the following error:
Some Cool New Features of Visual Studio 2015
Microsoft released Visual Studio RTM version in July 20.
Try Visual Studio 2015 CTP in Windows 10 tech preview
Microsoft announced new update for ASP.NET 5 and released Visual Studio 2015 CTP 6 on Monday. So I think I should try the new features earlier since I get spare time today.
Visual Studio 2013 Update 4
Visual Studio 2013 Update 4 released in Nov 12, 2014. I am going to update my local Visual Studio 2013 today.
Silverlight Application Compile Failed in Visual Studio 2013 part 2
We had a post about “Silverlight application compile failed in Visual Studio 2013”, but this time after we did the steps which was introduced, we still got compile failed.
Visual Studio 2013 Update 3
Today we did Visual Studio 2013 Update 3 since Update 4 RTM is coming, so we think it is the time to update to 3, should be maturity after real users used.
Visual Studio Online Service Down Today
This is the first time I meet Microsoft Visual Studio Online Service down, I could not connect to my VS Online Projects, they might call it is User Hub. Some of my source code are on VS Online.
Visual Studio 2013 Installer Projects
I have mentioned in my previous blog Microsoft removed nice Setup Project after Visual Studio 2010, and forced developer to use the 3rd party tool: InstallShield Limited Edition.
Visual Studio 2013 Update 2 RTM
Now we do the Visual Studio 2013 Update 2 since it is RTM already.
Visual Studio 2013 Update 2 RTM Notification
I mentioned I was waiting for Visual Studio 2013 update 2 formal release 3 days ago, and found the formal version just released in next day. but I was busy to download it, today I saw Visual Studio 2013 Update 2 RTM notification in Visual Studio 2013, will find time to update soon.
Using Git Tag for Visual Studio Projects
Visual Studio 2013 does not provide Git Tag function before Update 2, current the Visual Studio 2013 update 2 is still not formally released but just a RC release, so there are lots of developers are still using old Visual Studio 2013, which can not add git tag using Visual Studio 2013 directly.
Microsoft Product Lifecycle Search
I want to guess when is the next release date about one of Microsoft products, so I might have a good way to search Microsoft product release lifecycle.
Remove TFS or Git Account Information from Visual Studio 2013
Sometimes we used other people’s computers to write code, and we set our own TFS or Git account information to download or upload our code. so before we leave, we should remove our TFS (Team Foundation Server ) or Git account information from that computer.
Connect to existing Visual Studio Online Project
If your friend or team member invites you to join his project which is on Visual Studio Online, you will connect his online project using Visual Studio 2013.
Steps of Project Connects Visual Studio Online Git Project
If you create a new project, and want to use Visual Studio Online to control your source code, for example, use Git which provided by Visual Studio Online, using the following steps, you can get the connection between your local project and remote Git very well:
An error was raised by libgit2. Category = Net (Error)
We used Visual Studio 2013 and Git source control to connect Visual Studio Online, see previous blog here.
Add Local Project to Visual Studio Online
Visual Studio Online is actually formally called Team Foundation Server. But it is kind of cloud system, and there should be different features compared with team foundation server system.
How to Delete a Project in Visual Studio Online
Visual Studio Online is actually a Cloud Project Management system. It has a confusing name, developers might think it is a online Visual Studio development tool, but actually it is not, at least it is not currently. I personally guess Microsoft want to a online Visual Studio development tool too, but it is not now.
Creating Own Code Snippet in Visual Studio
You can create your own code snippet in Visual Studio for fast inputting.
Setup Project in Visual Studio 2012 and 2013
After Visual Studio 2010, the Setup project type was removed from Visual Studio, so there is no more Setup project type in newer Visual Studio versions such as 2012 and 2013.
Start to Use Visual Studio Online
Microsoft provided Visual Studio Online long time, It is a kind of Cloud service, at least, due to its name: Visual Studio Online, we can guess we can use it without install a local Visual Studio version.
How to Uninstall NuGet Packages ?
You might installed some packages using NuGet Manager in Visual Studio. but did you try to uninstall packages if you do not want the package any more?
The Second Article was Chosen By Microsoft ASP.NET
Today I just read my emails and found that in the last day of 2013 My another blog article about new ASP.NET tech SignalR was accepted by Microsoft ASP.NET website and posted on the daily community article list.
Host SignalR 2.0 in WPF Application
Microsoft has released new versions of ASP.NET, Visual Studio, SignalR etc. The real-time web might be focused on their SignalR tech since SignalR supports Web Sockets and other compatible techs.
First Time Use Visual Studio 2013
I just installed Visual Studio 2013 which was downloaded from Visual Studio Official Download Page. People can used 90-day free trials.
Visual Studio 2013 and .NET 4.5.1 Released
Microsoft just released the new development tool Visual Studio 2013 and .NET 4.5.1.
Update Visual Studio 2012
Visual Studio 2012 has already released the update SP1.
Install Visual Studio 2012
Microsoft has already released Visual Studio 2012, If you want to try, please download it for 90 days free trial.
For Next Generation Apps - Visual Studio 2012 Released
Microsoft released Visual Studio 2012 and .NET Framework 4.5 in the last week (2012 August 15). That was really a big day for both of all .NET developers and Microsoft.
No More Visual Studio 2011, Visual Studio 2012 RC Released
We just realized Microsoft released Visual Studio 2012 RC in May 31, 2012, Attention: It is 2012, not 2011.
Remove Administrator Permission Required From .NET Project
When you create a .NET project, if you opened the Visual Studio as Administrator and created a project, The next time if you forget to open Visual Studio as Administrator, you will see the following pop windows to ask you restart Visual Studio under different credentials when you try to run your application:
SQL Server Compact 4.0 for Visual Studio 2010
The last time we posted "Install Microsoft SQL Server Compact 4.0", Some friends feed backed they could not see anything about SQL Server Compact 4.0 in their Visual Studio 2010.
Run Visual Studio 2010 as Administrator Automatically in Windows 7
Most of time when we want to run Visual Studio 2010 as Administrator role, we can right click the Visual Studio short cut in start menu and choose “Run as administrator”;
Web Application Projects vs Web Site Projects
Since Visual Studio 2008, We can see there are two different web projects: ASP.NET Web Application and ASP.NET Web Site. Actually in Visual Studio 2005, Microsoft tried to remove the web application and replaced it with web site project, but there were many feedbacks indicated programmers need web application project. Later Microsoft released the package for web application project which was for Visual Studio 2005, at that time, some of earlier VS users needed to install the package separately.
Something New in Visual Studio 2010
1: Visual Studio 2010 was almost completely rewritten in WPF:
Add Registry Key and Value into a Setup Project
We have a case to create a Setup project for a Windows Forms project in the Visual Studio 2010, we need to write registry key and value when user install our software.
How to repeat table header on every page in RDLC report ?
When you build a .RDLC report in Visual Studio 2010 just like following one, you will see the table header can not repeat on every page when you change pages.
This task requires the application to have elevated permissions
In Windows 7 and Vista, when you run a software, you might need a permission.
An error occurred while validating HRESULT = '8000000A'
We added a setup project for our Windows Form Application. but sometimes the setup project got the following error when build whole application:
Resource file .resx compile error in 64-bit Windows 7
We have a project which can be built on Windows XP and Windows 7 32-bit, But when we moved it to a Windows 7 64-bit PC, We got the following compile error in Visual Studio 2010:
.Net 4 freeze when install on Windows 7 ?
If you install Visual Studio 2010, you might meet the trouble that it is freeze on installing .NET framework 4.0, no matter you want to install .NET 4.0 using standalone version later, you still can not install .NET 4.0 successfully.
Install Visual Studio 2010 SP1
Visual Studio 2010 SP1 (not beta version) was released in March 03, 2011, but this date is from Microsoft Official site, other websites gave the release date is March 10, 2011.
About update dataset for a .RDLC file in Visual Studio 2010
In Visual Studio 2010, if you open a report template file .rdlc. sometimes you might realize you can not update dataset if your data source is changed.
Another bug Visual Studio 2010 can not update dataset in rdlc file
We found another bug today:
Visual Studio and Service Package release dates
Have you watched the release dates of Visual Studio ? Do you know when Visual Studio 2010 SP1 will be released ?
Could not find any resources appropriate for the specified culture or the neutral culture
In Visual Studio 2010, I moved some resources files to another folder, Built OK and ran OK, but some day later I got an error, a control can not get related resource, the error message is:
Auto-Start Web Applications
Some Web applications need to load large amounts of data or perform expensive initialization processing before serving the first request. In earlier versions of ASP.NET, for these situations you had to devise custom approaches to “wake up” an ASP.NET application and then run initialization code during the Application_Load method in the Global.asax file.
Unsafe code may only appear if compiling with /unsafe
When you add a old C++ method in your C# code, you might get the following error when you attempt to build your project:
Using Visual Studio 2010 to build UML model and genarate code
Now coders no more need to find a Microsoft Visio tool to build your UML design. Just use your Visual Studio 2010 directly!
Open Visual Studio 2008 project file in Visual Studio 2005 ?
We know the Microsoft Visual Studio IDE Higher version can open the project which created in lower version by convert wizard steps. For example, whey you try to open a VS 2005 project in VS 2008, you will see a convert wizard windows firstly, it helps you convert old project to new project which can be opened in VS 2008.
How to add a Uninstall option in Visual Studio Setup project without writing code
Using Visual Studio 2005/2008, you don’t need to write any code to add a uninstall option for a Setup project (Yes I know some people can write code to do it)
What is .suo file in Visual Studio project ?
Copied explanation from Microsoft official site: ** Solution Files (.sln and .suo)**