Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Fix StyleCop Issues - Document Parameters #25

Merged
merged 9 commits into from
Mar 14, 2020

Conversation

mark-monteiro
Copy link
Contributor

This builds on PR #23 and should not be reviewed/merged until that one has been merged

@Bond-009
Copy link
Member

@mark-monteiro still a draft?

@mark-monteiro mark-monteiro marked this pull request as ready for review March 10, 2020 14:09
@mark-monteiro
Copy link
Contributor Author

@mark-monteiro still a draft?

No, was just waiting for the previous PR to get merged so this didn't get reviewed/merged out-of order

Copy link
Member

@Bond-009 Bond-009 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally found the time :)

Emby.AutoOrganize/Api/FileOrganizationService.cs Outdated Show resolved Hide resolved
Emby.AutoOrganize/Data/BaseSqliteRepository.cs Outdated Show resolved Hide resolved
Emby.AutoOrganize/Data/ManagedConnection.cs Outdated Show resolved Hide resolved
Emby.AutoOrganize/Data/SqliteExtensions.cs Outdated Show resolved Hide resolved
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be made one line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you do that? I tried this but then the project wouldn't load:

<PropertyGroup Condition=" '$(Configuration)' == 'Release' " TreatWarningsAsErrors="true"/>

error : The attribute "TreatWarningsAsErrors" in element is unrecognized.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>

And put it in the PropertyGroup above

Emby.AutoOrganize/Model/SmartMatchInfo.cs Outdated Show resolved Hide resolved
Emby.AutoOrganize/PluginEntryPoint.cs Outdated Show resolved Hide resolved
@Bond-009 Bond-009 merged commit 0675741 into jellyfin-archive:master Mar 14, 2020
@mark-monteiro mark-monteiro deleted the document-parameters branch March 14, 2020 15:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants