0

How to find and replace the some text in csproj using powershell. while we build csproj we need to update the studentpackage version in csproj . how find the value (version1) and update the same using powershell if we have version2.zip

<ItemGroup>
    <None Include="packages.config">
    </None>
    <Content Include="studentpackage\version1.zip">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <Content Include="projectfile\sf.jpj" />
    <Content Include="projectfile\ee.xml" />
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  <ItemGroup>
user1877936
  • 351
  • 3
  • 7
  • 22

0 Answers0