Matt Ward
4724b05c7a
Create stub classes for Entity Framework migrations.
...
Add stubs for missing Visual Studio EnvDTE classes, methods and properties used by Entity Framework 5 migrations.
13 years ago
Matt Ward
db2f9dbb06
T4 template can now add virtual keyword to public methods.
...
The EnvDTE.CodeFunction.CanOverride property setter can be used to add a virtual keyword to the method definition.
The T4MVC template makes all controller methods virtual so it can override them in another generated class.
13 years ago
Matt Ward
d7b7ee5247
T4 template can now add partial keyword to class.
...
The EnvDTE.CodeClass2.ClassKind property setter can be used to add a partial keyword to the class definition.
The T4MVC template makes all controller classes partial so it can add extend the original class with an associated partial controller class that it generates.
13 years ago
Matt Ward
31560dd552
Add dependent files as child EnvDTE.ProjectItems.
...
Fixes the T4MVC template from adding duplicate files to the project since it failed to find the dependent files under T4MVC.tt.
13 years ago
Matt Ward
b80bfb80b6
Implement EnvDTE.CodeParameter2.ParameterKind
...
The T4MVC template checks whether a parameter is optional so it can determine which controller action methods can be called without any parameters.
13 years ago
Matt Ward
f8a9a0cff6
Implement EnvDTE.CodeType.IsDerivedFrom()
...
The T4MVC template checks that controller action methods return a class derived from System.Web.Mvc.ActionResult.
13 years ago
Matt Ward
8dab965c7d
Refactor EnvDTE.ProjectItems.
...
Remove code duplication in ProjectItems classes.
13 years ago
Matt Ward
f81c495eac
Add classes to EnvDTE.FileCodeModel2.CodeElements
13 years ago
Matt Ward
8957e14233
Create stubs for EnvDTE API used by T4MVC.
...
Minor changes to T4MVC.tt:
1) Change imported assemblies and namespaces to refer to SharpDevelop's implementation of EnvDTE.
2) Change use of parameterised properties to method calls so no VB.NET classes are required.
13 years ago
Matt Ward
6fddd96e6c
Allow Powershell to use EnvDTE.Globals properties as methods.
...
Added a VB.NET Globals class which implements multiple parameterised properties which are not supported in C#.
This allows Powershell to use properties on the Globals class as though they were methods:
$dte.Solution.Globals.VariableValue("MyValue") = "value"
Write-Host $dte.Solution.Globals.VariableValue("MyValue")
$dte.Solution.Globals.VariablePersists("MyValue") = $true
Write-Host $dte.Solution.Globals.VariablePersists("MyValue")
13 years ago
Matt Ward
5e15bbae37
Implement EnvDTE.Solution.Globals.VariablePersists
...
Allows ExtensibilityGlobals solution items to be added or removed from the solution. Used by Unity NuGet package.
13 years ago
Matt Ward
ca45dd501d
Implement EnvDTE.Solution.Globals.VariableValue
...
Allows reading/writing of ExtensibilityGlobals solution items. Used by Unity NuGet package.
13 years ago
Matt Ward
776d5d28b0
Add support for EnvDTE.Solution.Globals.VariableExists
...
Checks the ExtensibilityGlobals section of a solution file for a variable. Used by the Unity NuGet package.
13 years ago
Matt Ward
368eecc11d
Implement EnvDTE.CodeParameter.Type.
13 years ago
Matt Ward
f04faadae8
Implement EnvDTE.CodeFunction.Parameters.
13 years ago
Matt Ward
0c05940258
Implement EnvDTE FileCodeModel2.AddImport method.
13 years ago
Matt Ward
edad657cb2
Add EnvDTE.FileCodeModel2.
...
Return namespaces (CodeImport) from FileCodeModel2.CodeElements.
13 years ago
Matt Ward
5588806259
Update the projects window without refreshing the entire tree as MvcScaffolding adds new files and folders to the project.
13 years ago
Matt Ward
d5835a1e1f
EnvDTE.CodeClass2.PartialClasses now returns the underlying class.
13 years ago
Matt Ward
4bff959fbd
Implement Reference3.AutoReferenced property.
13 years ago
Matt Ward
e33c7f4edd
Allow MvcScaffolding to set the default PowerShell runspace through the IConsoleInitializer.
13 years ago
Matt Ward
6e460e179f
Implement EnvDTE.CodeClass.AddVariable.
13 years ago
Matt Ward
ab45879b9f
Implement EnvDTE.EditPoint.ReplaceText.
13 years ago
Matt Ward
a1e8921ac5
Implement EnvDTE.CodeElement.Kind.
13 years ago
Matt Ward
a7e6377779
Implement EnvDTE.CodeTypeRef and EnvDTE.CodeTypeRef2.
13 years ago
Matt Ward
1dbdbf2e64
Implement Getter and Setter properties on EnvDTE.CodeProperty.
13 years ago
Matt Ward
bbf32f7059
Implement EnvDTE.CodeProperty2.Parameters.
13 years ago
Matt Ward
31d0f03af4
Implement CodeType.Members for fields, methods and properties.
13 years ago
Matt Ward
5d28bce57c
Implement EnvDTE.CodeType.Bases
13 years ago
Matt Ward
b01d17d5dd
Implement EnvDTE.CodeClass.ImplementedInterfaces.
13 years ago
Matt Ward
9aa770e5b9
Implement EnvDTE.CodeType.Attributes.
13 years ago
Matt Ward
2578b8c77d
Implement EnvDTE.CodeAttribute.
13 years ago
Matt Ward
5b528bc2eb
Implement EnvDTE.CodeElement.Language.
13 years ago
Matt Ward
c5da8349f9
Return project or external vsCMInfoLocation for EnvDTE.CodeType
13 years ago
Matt Ward
79307ebd00
Switch to using IProjectContent.GetNamespaceContents in EnvDTE.CodeModel to simplify the implementation.
13 years ago
Matt Ward
fa497e62cf
Implement EnvDTE.CodeModel and CodeNamespace.
13 years ago
Matt Ward
8e4fa6759f
Implement EnvDTE.CodeModel.CodeTypeFromFullName.
13 years ago
Matt Ward
c1835c0fbc
Implement IVsSolution and FlavoredProject for T4 scaffolding.
13 years ago
Matt Ward
5c26245277
Implement Visual Studio API to support installing T4 scaffolding package.
13 years ago
Matt Ward
f12e3df59e
Create EnvDTE and Visual Studio API classes without any implementation to support MvcScaffolding.
13 years ago
Matt Ward
a9c9850ca5
Update to NuGet 1.7
14 years ago
Matt Ward
01268b2cfa
Add tests for prerelease NuGet packages.
14 years ago
Matt Ward
b1f0cc48f4
Support updating a NuGet package in all projects when using the Update-Package PowersShell cmdlet.
14 years ago
Matt Ward
53d9fc382b
Support updating all NuGet packages in a solution when using the Update-Package PowersShell cmdlet.
14 years ago
Matt Ward
b2b4126712
Support updating all NuGet packages in a project when using the Update-Package PowersShell cmdlet.
14 years ago
Matt Ward
c1fc88ffb1
Prevent selection of projects that do not have an old version of a NuGet package when updating multiple projects in Manage Packages dialog.
14 years ago
Matt Ward
f8b2824786
Projects are only selected in the Select Projects dialog in the Installed Packages tab if the NuGet package is installed. No longer selected in the Available or Update tabs.
14 years ago
Matt Ward
c32cb0b018
Installed tab now supports uninstalling NuGet packages by unchecking the project in the Select Projects dialog.
14 years ago
Matt Ward
051bda8c6a
Supporting installing a NuGet package into selected projects in one step.
14 years ago
Matt Ward
17dc0e7771
Rename Add Package Reference dialog to Manage Packages.
14 years ago