Skip to content

Commit 81fcbe5

Browse files
committed
Initial commit
0 parents  commit 81fcbe5

19 files changed

+873
-0
lines changed

.github/workflows/publish.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Publish to VS Marketplace
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish:
8+
runs-on: windows-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: 1. Download artifact
14+
id: download-artifact
15+
uses: dawidd6/action-download-artifact@v2
16+
with:
17+
github_token: ${{ secrets.GH_SECRET }}
18+
workflow: release_build_and_deploy.yml
19+
workflow_conclusion: success
20+
21+
- name: 2. Parse Artifact Manifest
22+
id: artifact_manifest
23+
uses: ActionsTools/read-json-action@main
24+
with:
25+
file_path: ./artifact/CodingWithCalvin.ProjectRenamifier.info
26+
27+
- name: 3. Create Tag & Release
28+
uses: ncipollo/[email protected]
29+
with:
30+
artifacts: ./artifact/CodingWithCalvin.ProjectRenamifier.vsix
31+
generateReleaseNotes: true
32+
makeLatest: true
33+
token: ${{ secrets.GH_SECRET }}
34+
commit: ${{ steps.artifact_manifest.outputs.sha }}
35+
tag: ${{ steps.artifact_manifest.outputs.version }}
36+
37+
- name: 4. Publish Release to Marketplace
38+
if: success()
39+
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
40+
with:
41+
marketplace-pat: ${{ secrets.VS_PAT }}
42+
publish-manifest-path: ./resources/extension.manifest.json
43+
vsix-path: ./artifact/CodingWithCalvin.ProjectRenamifier.vsix
44+
45+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: 'Build and Deploy'
2+
3+
on:
4+
workflow_dispatch:
5+
# pull_request:
6+
# types: [opened, reopened]
7+
# push:
8+
# branches:
9+
# - main
10+
# tags-ignore:
11+
# - '[0-9]+.[0-9]+.[0-9]+.[0-9]+'
12+
13+
jobs:
14+
Release-Build-and-Deploy:
15+
runs-on: windows-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: microsoft/setup-msbuild@v2
20+
- uses: nuget/setup-nuget@v2
21+
22+
- name: 1. Versioning Release
23+
id: step-version
24+
uses: CodingWithCalvin/GHA-VSVsixVersioner@v1
25+
with:
26+
extension-manifest-file: 'src/CodingWithCalvin.ProjectRenamifier/source.extension.vsixmanifest'
27+
extension-source-file: 'src/CodingWithCalvin.ProjectRenamifier/source.extension.cs'
28+
29+
- name: 2. Restoring Packages
30+
run: nuget restore src/CodingWithCalvin.ProjectRenamifier.sln
31+
32+
- name: 3. Building Project
33+
run: msbuild 'src/CodingWithCalvin.ProjectRenamifier/CodingWithCalvin.ProjectRenamifier.csproj' /p:configuration='Release' /p:platform='x64' /p:DeployExtension=False
34+
35+
- name: 4. Create Information File
36+
uses: jsdaniell/[email protected]
37+
with:
38+
name: 'src/CodingWithCalvin.ProjectRenamifier/bin/x64/Release/CodingWithCalvin.ProjectRenamifier.info'
39+
json: '{"sha":"${{ github.sha }}", "version":"${{ steps.step-version.outputs.version }}"}'
40+
41+
- name: 5. Publishing Build Artifact
42+
uses: actions/upload-artifact@v4
43+
with:
44+
path: |
45+
src/CodingWithCalvin.ProjectRenamifier/bin/x64/Release/CodingWithCalvin.ProjectRenamifier.info
46+
src/CodingWithCalvin.ProjectRenamifier/bin/x64/Release/CodingWithCalvin.ProjectRenamifier.vsix

.gitignore

Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# User-specific files (MonoDevelop/Xamarin Studio)
11+
*.userprefs
12+
13+
# Build results
14+
[Dd]ebug/
15+
[Dd]ebugPublic/
16+
[Rr]elease/
17+
[Rr]eleases/
18+
x64/
19+
x86/
20+
build/
21+
bld/
22+
[Bb]in/
23+
[Oo]bj/
24+
25+
# Visual Studio 2015 cache/options directory
26+
.vs/
27+
# Uncomment if you have tasks that create the project's static files in wwwroot
28+
#wwwroot/
29+
30+
# MSTest test Results
31+
[Tt]est[Rr]esult*/
32+
[Bb]uild[Ll]og.*
33+
34+
# NUNIT
35+
*.VisualState.xml
36+
TestResult.xml
37+
38+
# Build Results of an ATL Project
39+
[Dd]ebugPS/
40+
[Rr]eleasePS/
41+
dlldata.c
42+
43+
# DNX
44+
project.lock.json
45+
artifacts/
46+
47+
*_i.c
48+
*_p.c
49+
*_i.h
50+
*.ilk
51+
*.meta
52+
*.obj
53+
*.pch
54+
*.pdb
55+
*.pgc
56+
*.pgd
57+
*.rsp
58+
*.sbr
59+
*.tlb
60+
*.tli
61+
*.tlh
62+
*.tmp
63+
*.tmp_proj
64+
*.log
65+
*.vspscc
66+
*.vssscc
67+
.builds
68+
*.pidb
69+
*.svclog
70+
*.scc
71+
72+
# Chutzpah Test files
73+
_Chutzpah*
74+
75+
# Visual C++ cache files
76+
ipch/
77+
*.aps
78+
*.ncb
79+
*.opensdf
80+
*.sdf
81+
*.cachefile
82+
83+
# Visual Studio profiler
84+
*.psess
85+
*.vsp
86+
*.vspx
87+
*.sap
88+
89+
# TFS 2012 Local Workspace
90+
$tf/
91+
92+
# Guidance Automation Toolkit
93+
*.gpState
94+
95+
# ReSharper is a .NET coding add-in
96+
_ReSharper*/
97+
*.[Rr]e[Ss]harper
98+
*.DotSettings.user
99+
100+
# JustCode is a .NET coding add-in
101+
.JustCode
102+
103+
# TeamCity is a build add-in
104+
_TeamCity*
105+
106+
# DotCover is a Code Coverage Tool
107+
*.dotCover
108+
109+
# NCrunch
110+
_NCrunch_*
111+
.*crunch*.local.xml
112+
nCrunchTemp_*
113+
114+
# MightyMoose
115+
*.mm.*
116+
AutoTest.Net/
117+
118+
# Web workbench (sass)
119+
.sass-cache/
120+
121+
# Installshield output folder
122+
[Ee]xpress/
123+
124+
# DocProject is a documentation generator add-in
125+
DocProject/buildhelp/
126+
DocProject/Help/*.HxT
127+
DocProject/Help/*.HxC
128+
DocProject/Help/*.hhc
129+
DocProject/Help/*.hhk
130+
DocProject/Help/*.hhp
131+
DocProject/Help/Html2
132+
DocProject/Help/html
133+
134+
# Click-Once directory
135+
publish/
136+
137+
# Publish Web Output
138+
*.[Pp]ublish.xml
139+
*.azurePubxml
140+
# TODO: Comment the next line if you want to checkin your web deploy settings
141+
# but database connection strings (with potential passwords) will be unencrypted
142+
*.pubxml
143+
*.publishproj
144+
145+
# NuGet Packages
146+
*.nupkg
147+
# The packages folder can be ignored because of Package Restore
148+
**/packages/*
149+
# except build/, which is used as an MSBuild target.
150+
!**/packages/build/
151+
# Uncomment if necessary however generally it will be regenerated when needed
152+
#!**/packages/repositories.config
153+
154+
# Windows Azure Build Output
155+
csx/
156+
*.build.csdef
157+
158+
# Windows Azure Emulator
159+
efc/
160+
rfc/
161+
162+
# Windows Store app package directory
163+
AppPackages/
164+
165+
# Visual Studio cache files
166+
# files ending in .cache can be ignored
167+
*.[Cc]ache
168+
# but keep track of directories ending in .cache
169+
!*.[Cc]ache/
170+
171+
# Others
172+
ClientBin/
173+
[Ss]tyle[Cc]op.*
174+
~$*
175+
*~
176+
*.dbmdl
177+
*.dbproj.schemaview
178+
*.pfx
179+
*.publishsettings
180+
node_modules/
181+
orleans.codegen.cs
182+
183+
# RIA/Silverlight projects
184+
Generated_Code/
185+
186+
# Backup & report files from converting an old project file
187+
# to a newer Visual Studio version. Backup files are not needed,
188+
# because we have git ;-)
189+
_UpgradeReport_Files/
190+
Backup*/
191+
UpgradeLog*.XML
192+
UpgradeLog*.htm
193+
194+
# SQL Server files
195+
*.mdf
196+
*.ldf
197+
198+
# Business Intelligence projects
199+
*.rdl.data
200+
*.bim.layout
201+
*.bim_*.settings
202+
203+
# Microsoft Fakes
204+
FakesAssemblies/
205+
206+
# GhostDoc plugin setting file
207+
*.GhostDoc.xml
208+
209+
# Node.js Tools for Visual Studio
210+
.ntvs_analysis.dat
211+
212+
# Visual Studio 6 build log
213+
*.plg
214+
215+
# Visual Studio 6 workspace options file
216+
*.opt
217+
218+
# Visual Studio LightSwitch build output
219+
**/*.HTMLClient/GeneratedArtifacts
220+
**/*.DesktopClient/GeneratedArtifacts
221+
**/*.DesktopClient/ModelManifest.xml
222+
**/*.Server/GeneratedArtifacts
223+
**/*.Server/ModelManifest.xml
224+
_Pvt_Extensions
225+
226+
# Paket dependency manager
227+
.paket/paket.exe
228+
229+
# FAKE - F# Make
230+
.fake/
231+
232+
# =========================
233+
# Operating System Files
234+
# =========================
235+
236+
# OSX
237+
# =========================
238+
239+
.DS_Store
240+
.AppleDouble
241+
.LSOverride
242+
243+
# Thumbnails
244+
._*
245+
246+
# Files that might appear in the root of a volume
247+
.DocumentRevisions-V100
248+
.fseventsd
249+
.Spotlight-V100
250+
.TemporaryItems
251+
.Trashes
252+
.VolumeIcon.icns
253+
254+
# Directories potentially created on remote AFP share
255+
.AppleDB
256+
.AppleDesktop
257+
Network Trash Folder
258+
Temporary Items
259+
.apdisk
260+
261+
# Windows
262+
# =========================
263+
264+
# Windows image file caches
265+
Thumbs.db
266+
ehthumbs.db
267+
268+
# Folder config file
269+
Desktop.ini
270+
271+
# Recycle Bin used on file shares
272+
$RECYCLE.BIN/
273+
274+
# Windows Installer files
275+
*.cab
276+
*.msi
277+
*.msm
278+
*.msp
279+
280+
# Windows shortcuts
281+
*.lnk

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Project Renamifier (PRE-ALPHA STAGE)
2+
3+
> This projecty is currently in its infancy and is not ready for primetime use. Please check back often for updates!
4+
5+
A Visual Studio extension that allows you to safely - and COMPLETELY - rename a Project from within Visual Studio! This includes the filename, parent folder name (if it matches), and the namespace (includes changing the namespace in files that use it), plus fixing the path/filename of the project in the Solution file and all referencing projects.
6+
7+
## License
8+
9+
[![License - MIT](https://img.shields.io/github/license/codingwithcalvin/VS-BreakpointNotifier?style=for-the-badge)](https://img.shields.io/github/license/codingwithcalvin/vs-BreakpointNotifier?style=for-the-badge)
10+
11+
## Build Status
12+
13+
TBD
14+
15+
## Marketplace Status
16+
17+
TBD
18+
19+
## Contribute
20+
21+
Contributions are welcome! Issues, PRs, etc.
22+
23+
For cloning and building this project yourself, make sure to install the [Extensibility Essentials 2022 extension](https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ExtensibilityEssentials2022) for Visual Studio which enables some features used by this project.

0 commit comments

Comments
 (0)