Matt Ward
ebbd829bdd
Fix EntityFramework Add-Migration failing to add file to project.
...
ProjectItems.AddFromFileCopy can now add a file that exists inside the project's root folder.
13 years ago
Matt Ward
db529dc711
Implement EnvDTE.ProjectItems.Kind
...
Determines whether the project items refer to a folder or file.
13 years ago
Matt Ward
fea395030b
Fix EF PowerShell extensions not finding SharpDevelop's EnvDTE assembly.
...
Move EnvDTE API to separate assembly.
Create EnvDTE interfaces in VB.NET to allow COM parameterised properties to be implemented to match Visual Studio's API.
Rename EnvDTE namespace from ICSharpCode.PackageManagement.EnvDTE to EnvDTE
13 years ago
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
3b15af69c1
Set DependentUpon for file added to EnvDTE file project item.
...
The T4MVC template uses EnvDTE.ProjectItems.AddFromFile() to add its generated files as dependent files.
If the project items belong to a file then the DependentUpon property is set in the MSBuild project.
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
7b0d8e92c9
Fix different EnvDTE behaviour between SharpDevelop and Visual Studio.
...
Throw exception when unknown item requested from EnvDTE.ProjectItems.Item() instead of returning null.
The T4MVC template relies on this behaviour when looking for folders that do not exist.
13 years ago
Matt Ward
8dab965c7d
Refactor EnvDTE.ProjectItems.
...
Remove code duplication in ProjectItems classes.
13 years ago
Matt Ward
c453bf698c
Refactor EnvDTE.ProjectItems AddFromFileCopy method.
13 years ago
Matt Ward
631faa9530
Fix EnvDTE.ProjectItems.AddFromFileCopy not adding the file to the project items directory.
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
1abc8a86e2
Fix MvcScaffolding not being able to find a class when a new file is added.
13 years ago
Matt Ward
fda36cf99b
Implement EnvDTE.ProjectItems.AddFromDirectory.
13 years ago
Matt Ward
e08408f6ef
Implement missing parts of EnvDTE Project and ProjectItems to support 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
ac4bb7b171
Make EnvDTE available to T4 templates.
14 years ago
Matt Ward
74a201369f
Implement same behaviour as Visual Studio's EnvDTE.ProjectItems by throwing an exception when AddFileFromCopy called and the destination file exists.
14 years ago
Matt Ward
92df3493a9
Add minimal support for accessing project files inside subdirectories in PowerShell scripts.
15 years ago
Matt Ward
7e6b16229b
Support getting project item by name in PowerShell scripts.
15 years ago
Matt Ward
1915a655f6
Add support for enumerating EnvDTE.Project.ProjectItems in PowerShell scripts.
15 years ago
Matt Ward
fa0d1d9b24
Support adding files into the project with PowerShell scripts.
15 years ago