Code snippets not versioned according to VS2008 Multi Targeting

I have reported a VS2008 issue to the VS Team regarding code snippets :



I am a heavy snippets user, and noticed that they are not tied to multi targeting…

I use VS2008 with ASP.NET 2.0 websites (not migrated to ASP.NET 3.5), but snippets are for ASP.NET 3.5

For example typing “prop” in C# code behind gives you:

public int MyProperty { get; set; }

Unfortunately this is not .NET 2.0…

Suggestion: Built-in code snippets should be multi-targeting aware.


The issue is visible and tracked in Connect:


https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331041

I agree that the generated IL is the same, but the problem is when you work with VS2008 on the same project along with a VS2005 team…

What do you think ?