答案 0 :(得分:0)
我认为Vs Code在导入语句中添加了“ / umd”,如<<Slider x:Name="CustomSliderVertical"
Height="10"
Width="150"
Margin="0,10"
Maximum="50"
SmallChange="0.1"
LargeChange="5"
TickPlacement="None"
TickFrequency="10"
Value="5"
Style="{DynamicResource FlatSlider}"
ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}"
VerticalAlignment="Center"
BorderBrush="Red">
</Slider>
>
只需删除您的src文件夹中的所有“ / umd”
enter image description here