Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added msbuild target to embed and build composeui-fdc3 package to the Shell project, changed project's files to use filescoped namespace, little refactoring around naming variables #329

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

lilla28
Copy link
Contributor

@lilla28 lilla28 commented Aug 22, 2023

Changes:

  • Added msbuild target(s) for building and embed fdc3 bundle.
    Be aware now the bundle file saved into the Output path (bin/Debug(Release)/net6.0-windows)
    ---> if we want to include it inside the project directory, I can change it.

  • block scoped namespace to file scoped namespace using (to be more consistent around the Shell project)

  • Refactoring around the names of the variables (readonly, using var, private, public fields etc.)

@lilla28 lilla28 requested a review from a team August 22, 2023 09:45
@ztanczos
Copy link
Contributor

The bundle is an EmbeddedResource, right? In that case I don't think it should be copied to the output directory as a file, that seems redundant.

src/shell/dotnet/Shell/Fdc3/PreloadFdc3.cs Outdated Show resolved Hide resolved
src/shell/dotnet/Shell/Shell.csproj Outdated Show resolved Hide resolved
src/shell/dotnet/Shell/Shell.csproj Outdated Show resolved Hide resolved
src/shell/dotnet/Shell/Shell.csproj Outdated Show resolved Hide resolved
src/shell/dotnet/Shell/Shell.csproj Outdated Show resolved Hide resolved
@lilla28 lilla28 force-pushed the build/fdc3-target branch 3 times, most recently from f043334 to 0ab99a1 Compare August 22, 2023 15:08
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #329 (6a3f8fb) into main (dfad4e3) will increase coverage by 0.14%.
The diff coverage is 7.46%.

❗ Current head 6a3f8fb differs from pull request most recent head 929815a. Consider uploading reports for the commit 929815a to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #329      +/-   ##
==========================================
+ Coverage   74.61%   74.75%   +0.14%     
==========================================
  Files         155      155              
  Lines        5475     5474       -1     
  Branches      233      233              
==========================================
+ Hits         4085     4092       +7     
+ Misses       1389     1381       -8     
  Partials        1        1              
Files Changed Coverage Δ
src/shell/dotnet/Shell/App.xaml.cs 0.00% <0.00%> (ø)
...tnet/Shell/ImageSource/DefaultImageSourcePolicy.cs 0.00% <0.00%> (ø)
.../Shell/ImageSource/EnvironmentImageSourcePolicy.cs 0.00% <0.00%> (ø)
...ll/dotnet/Shell/ImageSource/ImageSourceProvider.cs 0.00% <0.00%> (ø)
src/shell/dotnet/Shell/MainWindow.xaml.cs 0.00% <0.00%> (ø)
src/shell/dotnet/Shell/Manifest/ManifestModel.cs 0.00% <0.00%> (ø)
src/shell/dotnet/Shell/Manifest/ManifestParser.cs 0.00% <0.00%> (ø)
src/shell/dotnet/Shell/Manifest/ModuleModel.cs 0.00% <0.00%> (ø)
src/shell/dotnet/Shell/WebWindowOptions.cs 0.00% <0.00%> (ø)
src/shell/dotnet/Shell/Fdc3/PreloadFdc3.cs 100.00% <100.00%> (ø)
... and 1 more

... and 3 files with indirect coverage changes

@lilla28 lilla28 force-pushed the build/fdc3-target branch from a2ca1bb to 39de432 Compare August 22, 2023 15:58
… Shell project, changed project's files to use filescoped namespace, little refactoring around naming variables
@lilla28 lilla28 force-pushed the build/fdc3-target branch from 6a3f8fb to 929815a Compare August 23, 2023 07:20
@lilla28 lilla28 merged commit 495ebe3 into morganstanley:main Aug 23, 2023
@lilla28 lilla28 deleted the build/fdc3-target branch May 15, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants