Changeset 3063


Ignore:
Timestamp:
Mar 29, 2011, 11:02:22 PM (11 years ago)
Author:
Matthäus Wander
Message:

Fixed compile error in CrypResource. Starts now, but not sure if it works correctly

Location:
trunk/CrypResource
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypResource/CrypResource.csproj

    r2310 r3063  
    1111    <RootNamespace>Cryptool.Resource</RootNamespace>
    1212    <AssemblyName>CrypResource</AssemblyName>
    13     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
     13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    1414    <FileAlignment>512</FileAlignment>
    1515    <FileUpgradeFlags>
     
    3232    <UseApplicationTrust>false</UseApplicationTrust>
    3333    <BootstrapperEnabled>true</BootstrapperEnabled>
     34    <TargetFrameworkProfile />
    3435  </PropertyGroup>
    3536  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     
    137138      <DesignTime>True</DesignTime>
    138139    </Compile>
     140    <None Include="app.config" />
    139141    <None Include="Properties\Settings.settings">
    140142      <Generator>SettingsSingleFileGenerator</Generator>
     
    169171    <Content Include="Icons\open.bmp" />
    170172    <Content Include="Icons\save.bmp" />
    171   </ItemGroup>
    172   <ItemGroup>
    173     <ProjectReference Include="..\CrypPluginBase\CrypPluginBase.csproj">
    174       <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    175       <Name>CrypPluginBase</Name>
    176     </ProjectReference>
    177173  </ItemGroup>
    178174  <ItemGroup>
     
    193189    </BootstrapperPackage>
    194190  </ItemGroup>
     191  <ItemGroup>
     192    <ProjectReference Include="..\CrypPluginBase\CrypPluginBase.csproj">
     193      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
     194      <Name>CrypPluginBase</Name>
     195    </ProjectReference>
     196  </ItemGroup>
    195197  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    196198  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • trunk/CrypResource/ResourceManager.cs

    r4 r3063  
    5454                    if (attr.Length == 1)
    5555                    {
    56                         writer.AddResource(string.Format("{0}.{1}.Name", t.Namespace, t.Name), new ResourceEntry(attr[0].Name, attr[0].Name));
    57                         writer.AddResource(string.Format("{0}.{1}.Description", t.Namespace, t.Name), new ResourceEntry(attr[0].ShortDescription,attr[0].ShortDescription));
     56                        writer.AddResource(string.Format("{0}.{1}.Name", t.Namespace, t.Name), new ResourceEntry(attr[0].Caption, attr[0].Caption));
    5857                    }
    5958                }
Note: See TracChangeset for help on using the changeset viewer.