[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1060:Move pinvokes to native methods class")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1030:Use events where appropriate")]
-[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Major Bug", "S3903:Types should be defined in named namespaces", Scope = "type", Target = "~T:Interop")]
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Major Code Smell", "S125:Sections of code should not be commented out")]
-
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Major Bug", "S3903:Types should be defined in named namespaces", Scope = "type", Target = "~T:Interop")]
<Project>
<ItemGroup >
- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1">
+ <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
%define TIZEN_NET_API_VERSION 5
%define TIZEN_NET_RPM_VERSION 5.0.0.999+nui504
%define TIZEN_NET_NUGET_VERSION 5.0.0.99999
-%define TIZEN_NET_INTERNAL_NUGET_VERSION 5.0.0.999
%define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework
%define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
./build.sh --full
./build.sh --dummy
-./build.sh --pack %{TIZEN_NET_NUGET_VERSION} %{TIZEN_NET_INTERNAL_NUGET_VERSION}
+./build.sh --pack %{TIZEN_NET_NUGET_VERSION}
%install
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Debug Symbols
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
install -p -m 644 %{_tizenfx_bin_path}/bin/internal/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
-[ -d %{_tizenfx_bin_path}/bin/external ] \
- && install -p -m 644 %{_tizenfx_bin_path}/bin/external/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Resource files
[ -d %{_tizenfx_bin_path}/bin/public/res ] \
%attr(644,root,root) %{DOTNET_ASSEMBLY_RES_PATH}/*
%files debug
+%manifest %{name}.manifest
%attr(644,root,root) %{DOTNET_ASSEMBLY_PATH}/*.pdb
%files common -f common.filelist
%define TIZEN_NET_API_VERSION @api_version@
%define TIZEN_NET_RPM_VERSION @rpm_version@
%define TIZEN_NET_NUGET_VERSION @nuget_version@
-%define TIZEN_NET_INTERNAL_NUGET_VERSION @internal_nuget_version@
%define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework
%define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
./build.sh --full
./build.sh --dummy
-./build.sh --pack %{TIZEN_NET_NUGET_VERSION} %{TIZEN_NET_INTERNAL_NUGET_VERSION}
+./build.sh --pack %{TIZEN_NET_NUGET_VERSION}
%install
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Debug Symbols
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
install -p -m 644 %{_tizenfx_bin_path}/bin/internal/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
-[ -d %{_tizenfx_bin_path}/bin/external ] \
- && install -p -m 644 %{_tizenfx_bin_path}/bin/external/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Resource files
[ -d %{_tizenfx_bin_path}/bin/public/res ] \
source $VERSION_FILE
-while getopts ":r:n:i:" opt; do
+while getopts ":r:n:" opt; do
case $opt in
r) RPM_VERSION=$OPTARG ;;
n) NUGET_VERSION=$OPTARG ;;
- i) INTERNAL_NUGET_VERSION=$OPTARG ;;
:) echo "Option -$OPTARG requires an argument."; exit 1 ;;
esac
done
sed -i -e "s/@api_version@/$API_VERSION/g" $RPMSPEC
sed -i -e "s/@rpm_version@/$RPM_VERSION/g" $RPMSPEC
sed -i -e "s/@nuget_version@/$NUGET_VERSION/g" $RPMSPEC
-sed -i -e "s/@internal_nuget_version@/$INTERNAL_NUGET_VERSION/g" $RPMSPEC
# Default Versions (will be replaced by CI)
RPM_VERSION=5.0.0.999
NUGET_VERSION=5.0.0.99999
-INTERNAL_NUGET_VERSION=5.0.0.999
# RPM Version Suffix
RPM_VERSION_SUFFIX=nui504